<?php
namespace catchAdmin\storehouse\model\search;

trait ProjectSearch
{
    public function searchProjectIdAttr($query, $value, $data)
    {
        return $query->where('project_id', $value);
    }
    public function searchProjectNameAttr($query, $value, $data)
    {
        return $query->whereLike('project_name', $value);
    }
}
